package edu.spec.dengyan.week08.class01.book.unit3;

public class Rectange {

	public int length;
	public int width;

	public Rectange(int length, int width){

		this.length=length;
		this.width=width;
	}

	
	public static void main(String[] args){

	Rectange s=new Rectange(6,4);
	System.out.println(s.getArea());

	}
	public int getArea(){

		return length*width;

	}

}